//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.common.base;

import java.io.Serializable;

public class LoginEntity<T> implements Serializable {
    private static final long serialVersionUID = -8429833095913890749L;
    private Integer id;
    private String name;
    private String image;
    private String account;

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getImage() {
        return this.image;
    }

    public String getAccount() {
        return this.account;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public LoginEntity(Integer id, String name, String image, String account) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.account = account;
    }

    public LoginEntity() {
    }

    public String toString() {
        return "LoginEntity(id=" + this.getId() + ", name=" + this.getName() + ", image=" + this.getImage() + ", account=" + this.getAccount() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LoginEntity)) {
            return false;
        } else {
            LoginEntity<?> other = (LoginEntity)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label51: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label51;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label51;
                    }

                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$image = this.getImage();
                Object other$image = other.getImage();
                if (this$image == null) {
                    if (other$image != null) {
                        return false;
                    }
                } else if (!this$image.equals(other$image)) {
                    return false;
                }

                Object this$account = this.getAccount();
                Object other$account = other.getAccount();
                if (this$account == null) {
                    if (other$account != null) {
                        return false;
                    }
                } else if (!this$account.equals(other$account)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof LoginEntity;
    }

    public int hashCode() {
        int result = 1;
        Object $id = this.getId();
         result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $image = this.getImage();
        result = result * 59 + ($image == null ? 43 : $image.hashCode());
        Object $account = this.getAccount();
        result = result * 59 + ($account == null ? 43 : $account.hashCode());
        return result;
    }
}
